fig = px.treemap(tableRes, path=['Participants', 'iSubj', 'trial'],
values='Age', color='medSpeed',
# hover_data=['Age'],
# Try a diverging color scale,
color_continuous_scale=['#d7191c','#fdae61','#ffffbf',
'#abd9e9','#2c7bb6']
)
fig.update_layout(
autosize=False,width=1000,height=600);